package cn.gok.oa.log.entity;

    import com.baomidou.mybatisplus.annotation.FieldFill;
    import com.baomidou.mybatisplus.annotation.IdType;
    import com.baomidou.mybatisplus.annotation.TableField;
    import com.baomidou.mybatisplus.annotation.TableId;

    import java.sql.Timestamp;
    import java.time.LocalDateTime;
    import java.io.Serializable;
    import java.util.Date;

    import lombok.AllArgsConstructor;
    import lombok.Data;
    import lombok.EqualsAndHashCode;
    import lombok.NoArgsConstructor;
    import lombok.experimental.Accessors;

/**
* <p>
    * 
    * </p>
*
* @author gok
* @since 2022-08-04
*/
    @Data
    @EqualsAndHashCode(callSuper = false)
    @Accessors(chain = true)

    public class Log implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;

    private String action;

    private Integer userId;

    private String requestIp;

    private String requestUrl;

    private String requestMethod;

    private String requestType;

    private String requestParams;

    private String errorMessage;

    @TableField(fill = FieldFill.INSERT)
    private String createTime;


}
